/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package test_system.user_logic;

/**
 *
 * @author root
 */
public abstract class User {

    protected String login;
    protected String password;
    protected String name;
    private boolean isAdmin;

    public String getLogin() {
        return login;
    }

    public String getName() {
        return name;
    }

    public String getPassword() {
        return password;
    }

    public abstract String toString();

    public abstract String toWrite();
    //TODO
    public User addUser(String login, String password, String name, String group) {
        return null;
    }
}
